package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.CourseInfo;
import cn.gdut.chengcai.entity.CourseInfoExample;

public interface CourseInfoDao {
	long countByExample(CourseInfoExample example);

	int deleteByExample(CourseInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(CourseInfo record);

	int insertSelective(CourseInfo record);

	List<CourseInfo> selectByExample(CourseInfoExample example);

	CourseInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") CourseInfo record, @Param("example") CourseInfoExample example);

	int updateByExample(@Param("record") CourseInfo record, @Param("example") CourseInfoExample example);

	int updateByPrimaryKeySelective(CourseInfo record);

	int updateByPrimaryKey(CourseInfo record);
}